package cn.mihoyo.base.service;

import cn.mihoyo.base.dto.EmailRegisterDto;
import cn.mihoyo.base.dto.PhoneRegisterDto;

import java.io.IOException;

public interface VerifyCodeService {
    String imageCodeKey(String imageCodeKey) throws IOException;

    void smsCode(PhoneRegisterDto dto);

    String emailImageCode(String imageCodeKey) throws IOException;

    void EeailsmsCode(EmailRegisterDto dto);
}
